import Mock from 'mockjs'

Mock.mock('/api/promotion/get', 'get', function () {
  return {
    status: 200,
    data: {
      total: 10000,
      promotionList: [
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
        {id: 1, empName: '彭建伦', customerName: '王二狗', createTime: '2019-8-13'},
      ]
    }
  }
})
